		// increase the default animation speed to exaggerate the effect
	    $.fx.speeds._default = 400;
	    $(function() {	        $( "#dialog" ).dialog({
	        		resizable: false,
	            autoOpen: false,
	            show: "blind",
	            hide: "explode",
	            modal: true,
	            buttons: {
	            	"Ingresar": function(){
	            		// $( this ).dialog( "close" );
	            		document.getElementById("frm_login").submit();
	            	},
	            	"Cerrar": function(){
	            		$( this ).dialog( "close" );
	            	}
	            }
	        });

	        $( "#opener" ).click(function() {
	            $( "#dialog" ).dialog( "open" );
	            return false;
	        });

	        $( "frm_login" ).submit(function() {
	        		$( "#dialog" ).dialog( "close" );
	        });

	    });